//package com.example.novelstory.dao.zl;
//
//import com.baomidou.mybatisplus.core.mapper.BaseMapper;
//import com.example.novelstory.entity.Category;
//import com.example.novelstory.entity.Task;
//import org.apache.ibatis.annotations.*;
//
//import java.util.List;
//
//@Mapper
//public interface Taskdao extends BaseMapper<Task> {
//    @Select("select * from task")
//    //查询
//    public List<Task> findall1();
//    @Select("select * from task where sign=#{sign} ")
//    public List<Task> findByName(int sign);
//    //添加
//    @Insert("insert into task(sign,invitatio,gold_income) values (#{sign,jdbcType=VARCHAR},#{invitatio,jdbcType=VARCHAR},#{gold_income,jdbcType=VARCHAR})")
//    public int insert(@Param("sign") int sign, @Param("invitatio") String invitatio, @Param("gold_income") String gold_income);
//    @Delete("delete from task where id=#{id}")
//    public int delete(int id);
//    @Update("update task set invitatio=#{invitatio,jdbcType=VARCHAR},gold_income=#{gold_income,jdbcType=VARCHAR} WHERE sign=#{sign,jdbcType=VARCHAR}")
//    public int update(@Param("sign") int sign,@Param("invitatio") String invitatio,@Param("gold_income") String gold_income);
//}
//
